<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base herf="<%=basePath%>">
<link href="<%=basePath%>static2/assets/css/bootstrap.min.css"
	rel="stylesheet" />
<link rel="stylesheet"
	href="<%=basePath%>static2/assets/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>static2/assets/css/ace.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>static2/assets/css/ace-rtl.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>static2/assets/css/ace-skins.min.css" />
<link rel="stylesheet" href="<%=basePath%>static2/css/style.css" />
<script src="<%=basePath%>static2/assets/js/ace-extra.min.js"></script>
<script src="<%=basePath%>static2/js/jquery-1.9.1.min.js"></script>
<script src="<%=basePath%>static2/assets/layer/layer.js"
	type="text/javascript"></script>
<title>登录</title>
</head>

<body class="login-layout Reg_log_style"
	style="background-image:(<%=basePath%>static2/images/bizhi.jpg)">
	<div class="logintop">
		<span>zl图书后台管理</span>
		<a href="<%=basePath%>jsp/homePage.jsp" style="align-content: center;float: right;color: white;">商城首页</a>
	</div>
	<div>
		<div class="login-container">
			<div class="center"></div>
			<div class="space-6"></div>

			<div class="position-relative">
				<div id="login-box" class="login-box widget-box no-border visible">
					<div class="widget-body">
						<div class="widget-main">
							<h4 class="header blue lighter bigger">
								<i class="icon-coffee green"></i> 后台管理员登录
							</h4>
							<div class="login_icon">
								<img style="width: 130px; height: 130px"
									src="<%=basePath%>static/css/logo.png" />
							</div>

							<form action="../manager/loginInspect" method="post">
								<fieldset>
									<ul>
										<li class="frame_style form_error"><label
											class="user_icon"></label><input name="username" type="text" placeholder="用户名"
											id="username" /></li>
										<li class="frame_style form_error"><label
											class="password_icon"></label><input name="password" placeholder="密码"
											type="password" id="password" /></li>
									</ul>
									<div class="space"></div>
									<div class="clearfix">
										<button type="submit"
											class="width-35 pull-right btn btn-sm btn-primary"
											id="login_btn">
											<i class="icon-key"></i> 登录
										</button>
									</div>

									<div class="space-4"></div>
								</fieldset>
							</form>

						</div>
						<!-- /widget-main -->

						<div class="toolbar clearfix"></div>
					</div>
					<!-- /widget-body -->
				</div>
				<!-- /login-box -->
			</div>
			<!-- /position-relative -->
		</div>
	</div>
	<div class="loginbm">
		版权所有 2020 <a href="">郑州大学</a>
	</div>
	<strong></strong>
</body>
</html>
<!-- 
<script>
$('#login_btn').on('click', function(){
	     var num=0;
		 var str="";
     $("input[type$='text'],input[type$='password']").each(function(n){
          if($(this).val()=="")
          {
               
			   layer.alert(str+=""+$(this).attr("name")+"不能为空！\r\n",{
                title: '提示框',				
				icon:0,								
          }); 
		    num++;
            return false;            
          } 
		 });
		  if(num>0){  return false;}	 	
          else{
			  layer.alert('登录成功！',{
               title: '提示框',				
			   icon:1,		
			  });
	          location.href="<%=basePath%>
	manager/loginInspect";
			layer.close(index);
		}

	});
	$(document).ready(
			function() {
				$("input[type='text'],input[type='password']").blur(
						function() {
							var $el = $(this);
							var $parent = $el.parent();
							$parent.attr('class', 'frame_style').removeClass(
									' form_error');
							if ($el.val() == '') {
								$parent.attr('class', 'frame_style').addClass(
										' form_error');
							}
						});
				$("input[type='text'],input[type='password']").focus(
						function() {
							var $el = $(this);
							var $parent = $el.parent();
							$parent.attr('class', 'frame_style').removeClass(
									' form_errors');
							if ($el.val() == '') {
								$parent.attr('class', 'frame_style').addClass(
										' form_errors');
							} else {
								$parent.attr('class', 'frame_style')
										.removeClass(' form_errors');
							}
						});
			})
</script>

 -->
